package com.aaa.dem1110.zuoye;

/**
 * @Author: whj
 * @Version 1.0
 * @Date: 2022/11/10  16:47
 */
public class ChangFangXing extends bianchang {

    @Override
    public int zhouchaong(int k, int g) {
        int zhouchaong =  (k+g)*2;
        System.out.println("zhouchaong = " + zhouchaong);
        return zhouchaong;
    }

    @Override
    public int mianji(int k, int g) {
        int mianji = k*g;
        System.out.println("mianji = " + mianji);
        return mianji;
    }
}
